//
//  YJDetadetaCell.m
//  健康饮食
//
//  Created by qianfeng01 on 15/7/9.
//  Copyright (c) 2015年 qianfeng01. All rights reserved.
//

#import "YJDetadetaCell.h"
#import "UIImageView+WebCache.h"
@implementation YJDetadetaCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)showWithModel:(YJDetaDetaaModel *)model{
   // NSLog(@"%@",model.info);
    self.label.text =[NSString stringWithFormat:@"%@ %@",model.num,model.info];

    [self.imgImageView sd_setImageWithURL:[NSURL URLWithString:model.image] placeholderImage:[UIImage imageNamed:@"food8.jpeg"]];
}
@end
